package com.ruoyi.business.mapper;

import com.ruoyi.common.core.domain.entity.RefundApproval;

import java.util.List;


/**
 * 退款审批记录Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-07
 */
public interface RefundApprovalMapper
{
    /**
     * 查询退款审批记录
     *
     * @param refundApprovalId 退款审批记录主键
     * @return 退款审批记录
     */
    public RefundApproval selectRefundApprovalByRefundApprovalId(Long refundApprovalId);

    /**
     * 查询退款审批记录列表
     *
     * @param refundApproval 退款审批记录
     * @return 退款审批记录集合
     */
    public List<RefundApproval> selectRefundApprovalList(RefundApproval refundApproval);

    /**
     * 新增退款审批记录
     *
     * @param refundApproval 退款审批记录
     * @return 结果
     */
    public int insertRefundApproval(RefundApproval refundApproval);

    /**
     * 修改退款审批记录
     *
     * @param refundApproval 退款审批记录
     * @return 结果
     */
    public int updateRefundApproval(RefundApproval refundApproval);

    /**
     * 删除退款审批记录
     *
     * @param refundApprovalId 退款审批记录主键
     * @return 结果
     */
    public int deleteRefundApprovalByRefundApprovalId(Long refundApprovalId);

    /**
     * 批量删除退款审批记录
     *
     * @param refundApprovalIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRefundApprovalByRefundApprovalIds(Long[] refundApprovalIds);
}
